package com.lq.mapper;

import com.lq.pojo.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {

    boolean insertCategory(String categoryName);

    List<Category> getAllCategory();

    Category getCategoryById(int categoryId);
}
